package xcmg.device.dao.mapper.threedayplan;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;
import xcmg.device.dao.entity.threedayplan.ThreeDayPlanDO;
import xcmg.device.service.vo.threedayplan.ThreeDayPlanQueryVO;

import java.util.List;

@Mapper
@Repository
public interface ThreeDayPlanDOMapper {
    int deleteByPrimaryKey(String id);

    int insert(ThreeDayPlanDO record);

    int insertSelective(ThreeDayPlanDO record);

    ThreeDayPlanDO selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(ThreeDayPlanDO record);

    int updateByPrimaryKey(ThreeDayPlanDO record);

    List<ThreeDayPlanDO> list(ThreeDayPlanQueryVO param);

    int updateById(@Param("id") String id,@Param("dlvStatus") Integer dlvStatus);
}